<ui:composition xmlns:p='http://primefaces.org/ui'
                xmlns='http://www.w3.org/1999/xhtml'
                xmlns:f='http://java.sun.com/jsf/core'
                xmlns:h='http://java.sun.com/jsf/html'
                xmlns:ui='http://java.sun.com/jsf/facelets'>

<p:column headerText='#{t}' sortBy='#{v}' filterBy='#{v}' filterStyle='#{filterStyle};width:100%' style="width: #{w != null? w : '70px'}" rendered='#{type == null}' filterStyleClass='columnFind'>

<h:outputText value='#{v}' style='white-space:normal;#{style}'><f:convertDateTime pattern="#{pattern != null? pattern : 'dd-MM-yyyy'}"/></h:outputText>

</p:column>


<p:column headerText='#{t}' filterStyle='#{filterStyle};width:100%' style="width: #{w != null? w : '70px'}" rendered='#{type != null}'>

<h:outputText value='#{v}' style='white-space:normal;#{style}'><f:convertDateTime pattern="#{pattern != null? pattern : 'dd-MM-yyyy'}"/></h:outputText>

</p:column>

</ui:composition>